/*
 * @Author: zxhuan 
 * @Date: 2018-04-28 17:04:49 
 * @Blog:www.zxhuan.com 
 * @Email:1123046380@qq.com 
 * @Last Modified time: 2018-04-28 17:04:49 
 */
/**
 * ----参数说明----
 * name 导航名
 * router 路由
 * loginStatus 是否需要登录才能查看该页面
 * index index
 * border 是否显示底部边框
 * query 路由参数
 * sub 二级导航
 */
export const SIDEBARJSON = [
  {
    name: 'HOME',
    router: '/',
    loginStatus: false,
    index: 1
  },
  {
    name: 'BB',
    router: '/coins',
    loginStatus: false,
    index: 2
  },
  {
    name: 'C2C',
    router: '',
    loginStatus: false,
    index: 3,
    sub: [
      {
        name: 'C2C_TRANDACTIONS',
        router: '',
        border: true,
        index: 4
      },
      {
        name: 'USDT_TRANDACTIONS',
        router: '/c2c/trade',
        query: { type: 1 },
        loginStatus: true,
        border: false,
        index: 5
      },
      {
        name: 'QC_TRANDACTIONS',
        router: '/c2c/trade',
        query: { type: 2 },
        loginStatus: true,
        border: false,
        index: 6
      },
      {
        name: 'TRANSACTION_RECORD',
        router: '/c2c/trade/list',
        // query: { type: 2 },
        border: false,
        index: 36
      },
      {
        name: 'WANT_TO_BUY',
        router: '/c2c',
        query: { type: 'buy' },
        border: false,
        index: 7
      },
      {
        name: 'WANT_TO_SELL',
        router: '/c2c',
        query: { type: 'sell' },
        border: false,
        index: 8
      },
      {
        name: 'ADVERTISING',
        router: '/c2c/advert',
        loginStatus: true,
        border: false,
        index: 9
      }
    ]
  },
  {
    name: 'MESSAGE',
    router: '/msg',
    loginStatus: false,
    index: 10
  },
  {
    name: 'MANAGEMENT',
    router: '',
    loginStatus: true,
    index: 11,
    sub: [
      {
        name: 'COINS_ENTRUS',
        border: true,
        router: '',
        index: 12
      },
      {
        name: 'COMMISSIONED_CURRENT',
        router: '/manage/entrust',
        border: false,
        query: { state: '0', type: '0' },

        index: 12
      },
      {
        name: 'HISTORY_CURRENT',
        router: '/manage/history',
        query: { state: '4', type: '1' },
        border: false,
        index: 13
      },
      {
        name: 'C2C_MANAGEMENT',
        router: '',
        border: true,
        index: 14
      },
      {
        name: 'ADVERT_ORDER',
        border: false,
        router: '/manage/order',
        query: { type: '2' },
        index: 15
      },
      {
        name: 'MY_ADVERT',
        router: '/manage/myorder',
        border: false,
        index: 16
      },
      {
        name: 'SHELVES_ADVERT',
        router: '/manage/order/shelf',
        border: false,
        index: 31
      },
      {
        name: 'RECORD_DISPUTEDS',
        router: '/manage/disrecord',
        border: false,
        index: 35
      }
    ]
  },
  {
    name: 'ASSET',
    router: '',
    loginStatus: true,
    index: 17,
    sub: [
      {
        name: 'ASSET_MANAGEMENT',
        router: '/asset',
        border: false,
        index: 18
      },
      {
        name: 'ASSET_RECORD',
        router: '/asset/record',
        border: false,
        index: 19
      }
    ]
  },
  {
    name: 'USER',
    router: '',
    loginStatus: true,
    index: 20,
    sub: [
      {
        name: 'USER_SAFT',
        router: '',
        border: true,
        index: 21
      },
      {
        name: 'USER_EMAIL',
        router: '/user/email',
        border: false,
        index: 22
      },
      {
        name: 'USER_REALNAME',
        router: '/user/realname',
        border: false,
        index: 23
      },
      {
        name: 'USER_PHONE',
        router: '/user/phone',
        border: false,
        index: 24
      },
      {
        name: 'USER_PASS',
        router: '/user/pass',
        border: false,
        index: 25
      },
      {
        name: 'USER_TRADE',
        router: '/user/trade',
        border: false,
        index: 26
      },
      {
        name: 'USER_RECEIVING',
        router: '',
        border: true,
        index: 27
      },
      {
        name: 'USER_WECHAT',
        router: '/user/wechat',
        border: false,
        index: 28
      },
      {
        name: 'USER_ALIPAY',
        router: '/user/alipay',
        border: false,
        index: 29
      },
      {
        name: 'USER_BANK',
        router: '/user/bank',
        border: false,
        index: 30
      }
    ]
  }
];